﻿using LibPlug.Model;
namespace LibPlug.Interface
{
    public interface IPlug
    {
        PluginsInfoAttribute Info { get; set; }
        /// <summary>
        /// 插件资源初始化
        /// </summary>
        /// <returns></returns>
        bool Init(object parameters);
        /// <summary>
        /// 接收到了弹幕消息
        /// </summary>
        /// <param name="msg">传入的弹幕数据</param>
        /// <returns></returns>
        bool ReceiveMessage(DanMuMessageModel model);
    }
}
